namespace MiniFlower
{
    public class DefaultLog : ILog
    {
        public void Log(ELogType logType, string message)
        {
            switch (logType)
            {
                case ELogType.Info:
                    UnityEngine.Debug.Log(message);
                    break;

                case ELogType.Warn:
                    UnityEngine.Debug.LogWarning(message);
                    break;

                case ELogType.Error:
                    UnityEngine.Debug.LogError(message);
                    break;

                case ELogType.Fatal:
                    UnityEngine.Debug.LogAssertion(message);
                    break;
            }
        }
    }

}
